package com.xbongbong.saas.model;/*/*/

import com.xbongbong.paas.toolbox.exception.XbbException;
import com.xbongbong.paas.toolbox.wrap.IModel;
import com.xbongbong.saas.domain.entity.WorkOrderCcEntity;

import java.util.List;
import java.util.Map;
/**
 * 工单抄送人 model
 * @author 魏荣杰
 * @date 2019/4/3 15:16
 * @since v1.0
 * @version v1.0
 */
public interface WorkOrderCcModel extends IModel<WorkOrderCcEntity> {
    @Override
    Integer insert(WorkOrderCcEntity entity) throws XbbException;

    @Override
    Integer update(WorkOrderCcEntity entity) throws XbbException;

    @Override
    List<WorkOrderCcEntity> findEntitys(Map<String, Object> param);

    @Override
    Integer getEntitysCount(Map<String, Object> param);

    List<String> getUserIds(String corpid, Long workOrderId);

    Integer save(WorkOrderCcEntity entity) throws XbbException;

}
